package com.pro.common.api.sitecontent.intf;

import com.pro.common.api.CommonConst;
import com.pro.common.api.sitecontent.model.db.CurrencyExchangeRate;
import io.swagger.v3.oas.annotations.Hidden;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;

import java.util.List;

@FeignClient(name = CommonConst.ModulesUrl.siteContent,contextId = "CurrencyExchangeRateFeignClient")
@Hidden
public interface CurrencyExchangeRateFeignClient {

    @GetMapping("/currencyExchangeRate/getActiveList")
    List<CurrencyExchangeRate> getActiveList();
}
